Package org.jboss.identity.idm.impl.api

Examples of org.jboss.identity.idm.impl.api.SimpleCredentialType


   public boolean isCredentialTypeSupported(CredentialType credentialType) throws IdentityException
   {
      checkNotNullArgument(credentialType, "CredentialType");

      return getRepository().getSupportedFeatures().isCredentialSupported(getUserObjectType(), new SimpleCredentialType(credentialType.getName()));
   }
View Full Code Here


      getRepository().updateCredential(getInvocationContext(), createIdentityObject(identity), new PasswordCredential(password));
   }

   public boolean hasCredential(Identity identity, CredentialType credentialType) throws IdentityException
   {
      return getRepository().getSupportedFeatures().isCredentialSupported(createIdentityObject(identity).getIdentityType(), new SimpleCredentialType(credentialType.getName()));
   }
View Full Code Here

   public boolean hasCredential(User identity, CredentialType credentialType) throws IdentityException
   {
      checkNotNullArgument(identity, "User");
      checkNotNullArgument(credentialType, "CredentialType");

      return getRepository().getSupportedFeatures().isCredentialSupported(createIdentityObject(identity).getIdentityType(), new SimpleCredentialType(credentialType.getName()));
   }
View Full Code Here

   public boolean isCredentialTypeSupported(CredentialType credentialType) throws IdentityException
   {
      checkNotNullArgument(credentialType, "CredentialType");

      return getRepository().getSupportedFeatures().isCredentialSupported(getUserObjectType(), new SimpleCredentialType(credentialType.getName()));
   }
View Full Code Here

TOP

Related Classes of org.jboss.identity.idm.impl.api.SimpleCredentialType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.