public DeploymentInfo addAuthenticationMechanism ( final String name , final AuthenticationMechanismFactory factory ) { authenticationMechanisms . put ( name . toUpperCase ( Locale . US ) , factory ) ; return this ; }
Adds an authentication mechanism . The name is case insenstive and will be converted to uppercase internally .