aerogear-security-picketlink 1.2.1

org.jboss.aerogear.security.picketlink.auth
Class CredentialMatcher

java.lang.Object
  extended by org.jboss.aerogear.security.picketlink.auth.CredentialMatcher

@ApplicationScoped
public class CredentialMatcher
extends Object

Responsible for matching credentials against the IDM


Constructor Summary
CredentialMatcher()
           
 
Method Summary
 boolean hasExpired()
          Check if the credential has already expired
 boolean isValid()
          Check if the credential is valid
 void validate(org.picketlink.idm.model.sample.User user, String password)
          Validate if the credential provided matches
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CredentialMatcher

public CredentialMatcher()
Method Detail

isValid

public boolean isValid()
Check if the credential is valid

Returns:
boolean

hasExpired

public boolean hasExpired()
Check if the credential has already expired

Returns:
boolean

validate

public void validate(org.picketlink.idm.model.sample.User user,
                     String password)
Validate if the credential provided matches

Parameters:
user -
password -

aerogear-security-picketlink 1.2.1

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.