Interface AuthenticationMechanism<T>
-
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
AuthenticationMechanismImpl
public interface AuthenticationMechanism<T> extends org.jboss.shrinkwrap.descriptor.api.Child<T>This interface defines the contract for theauthentication-mechanismxsd type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AuthenticationMechanism<T>authenticationMechanismType(String authenticationMechanismType)Sets theauthentication-mechanism-typeelementAuthenticationMechanism<T>credentialInterface(String credentialInterface)Sets thecredential-interfaceelementAuthenticationMechanism<T>description(String description)Sets thedescriptionelementStringgetAuthenticationMechanismType()Returns theauthentication-mechanism-typeelementStringgetCredentialInterface()Returns thecredential-interfaceelementStringgetDescription()Returns thedescriptionelementAuthenticationMechanism<T>removeAuthenticationMechanismType()Removes theauthentication-mechanism-typeelementAuthenticationMechanism<T>removeCredentialInterface()Removes thecredential-interfaceelementAuthenticationMechanism<T>removeDescription()Removes thedescriptionelement
-
-
-
Method Detail
-
description
AuthenticationMechanism<T> description(String description)
Sets thedescriptionelement- Parameters:
description- the value for the elementdescription- Returns:
- the current instance of
AuthenticationMechanism
-
getDescription
String getDescription()
Returns thedescriptionelement- Returns:
- the node defined for the element
description
-
removeDescription
AuthenticationMechanism<T> removeDescription()
Removes thedescriptionelement- Returns:
- the current instance of
AuthenticationMechanism
-
authenticationMechanismType
AuthenticationMechanism<T> authenticationMechanismType(String authenticationMechanismType)
Sets theauthentication-mechanism-typeelement- Parameters:
authenticationMechanismType- the value for the elementauthentication-mechanism-type- Returns:
- the current instance of
AuthenticationMechanism
-
getAuthenticationMechanismType
String getAuthenticationMechanismType()
Returns theauthentication-mechanism-typeelement- Returns:
- the node defined for the element
authentication-mechanism-type
-
removeAuthenticationMechanismType
AuthenticationMechanism<T> removeAuthenticationMechanismType()
Removes theauthentication-mechanism-typeelement- Returns:
- the current instance of
AuthenticationMechanism
-
credentialInterface
AuthenticationMechanism<T> credentialInterface(String credentialInterface)
Sets thecredential-interfaceelement- Parameters:
credentialInterface- the value for the elementcredential-interface- Returns:
- the current instance of
AuthenticationMechanism
-
getCredentialInterface
String getCredentialInterface()
Returns thecredential-interfaceelement- Returns:
- the node defined for the element
credential-interface
-
removeCredentialInterface
AuthenticationMechanism<T> removeCredentialInterface()
Removes thecredential-interfaceelement- Returns:
- the current instance of
AuthenticationMechanism
-
-