Class RequestedAuthnContextBuilder
- java.lang.Object
-
- se.litsec.opensaml.core.AbstractSAMLObjectBuilder<RequestedAuthnContext>
-
- se.litsec.opensaml.saml2.core.build.RequestedAuthnContextBuilder
-
- All Implemented Interfaces:
SAMLObjectBuilder<RequestedAuthnContext>
public class RequestedAuthnContextBuilder extends AbstractSAMLObjectBuilder<RequestedAuthnContext>
A builder forRequestedAuthnContext
elements.- Author:
- Martin Lindström (martin.lindstrom@litsec.se)
-
-
Constructor Summary
Constructors Constructor Description RequestedAuthnContextBuilder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RequestedAuthnContextBuilder
authnContextClassRefs(String... classRefs)
RequestedAuthnContextBuilder
authnContextClassRefs(List<String> classRefs)
AssignsAuthnContextClassRef
elements to theRequestedAuthnContext
object.RequestedAuthnContextBuilder
authnContextDeclRefs(String... declRefs)
RequestedAuthnContextBuilder
authnContextDeclRefs(List<String> declRefs)
AssignsAuthnContextDeclRef
elements to theRequestedAuthnContext
object.static RequestedAuthnContextBuilder
builder()
Utility method that creates a builder.RequestedAuthnContextBuilder
comparison(AuthnContextComparisonTypeEnumeration type)
Assigns theComparison
attribute to theRequestedAuthnContext
object.protected Class<RequestedAuthnContext>
getObjectType()
Returns the object type.-
Methods inherited from class se.litsec.opensaml.core.AbstractSAMLObjectBuilder
build, getDefaultElementName, object
-
-
-
-
Method Detail
-
builder
public static RequestedAuthnContextBuilder builder()
Utility method that creates a builder.- Returns:
- a builder
-
comparison
public RequestedAuthnContextBuilder comparison(AuthnContextComparisonTypeEnumeration type)
Assigns theComparison
attribute to theRequestedAuthnContext
object.- Parameters:
type
- the type of comparison- Returns:
- the builder
-
authnContextClassRefs
public RequestedAuthnContextBuilder authnContextClassRefs(List<String> classRefs)
AssignsAuthnContextClassRef
elements to theRequestedAuthnContext
object.- Parameters:
classRefs
- authentication context class references- Returns:
- the builder
-
authnContextClassRefs
public RequestedAuthnContextBuilder authnContextClassRefs(String... classRefs)
- Parameters:
classRefs
- authentication context class references- Returns:
- the builder
- See Also:
authnContextClassRefs(List)
-
authnContextDeclRefs
public RequestedAuthnContextBuilder authnContextDeclRefs(List<String> declRefs)
AssignsAuthnContextDeclRef
elements to theRequestedAuthnContext
object.- Parameters:
declRefs
- authentication context declaration references- Returns:
- the builder
-
authnContextDeclRefs
public RequestedAuthnContextBuilder authnContextDeclRefs(String... declRefs)
- Parameters:
declRefs
- authentication context declaration references- Returns:
- the builder
- See Also:
authnContextDeclRefs(List)
-
getObjectType
protected Class<RequestedAuthnContext> getObjectType()
Returns the object type.- Specified by:
getObjectType
in classAbstractSAMLObjectBuilder<RequestedAuthnContext>
- Returns:
- the object type
-
-