au.edu.archer.acegi.myproxy
Class UserDetailsWithCertificateImpl

java.lang.Object
  extended by au.edu.archer.acegi.myproxy.UserDetailsWithCertificateImpl
All Implemented Interfaces:
UserDetailsWithCertificate, java.io.Serializable, org.acegisecurity.userdetails.UserDetails

public class UserDetailsWithCertificateImpl
extends java.lang.Object
implements UserDetailsWithCertificate

Implementation of the UserDetailsWithCertificate interface.

Author:
Nigel Sim
See Also:
Serialized Form

Constructor Summary
UserDetailsWithCertificateImpl(java.lang.String username, java.lang.String password, org.ietf.jgss.GSSCredential certificate)
           
 
Method Summary
 org.acegisecurity.GrantedAuthority[] getAuthorities()
           
 org.ietf.jgss.GSSCredential getCertificate()
           
 java.lang.String getDn()
           
 java.lang.String getPassword()
           
 java.lang.String getUsername()
           
 boolean isAccountNonExpired()
           
 boolean isAccountNonLocked()
           
 boolean isCredentialsNonExpired()
           
 boolean isEnabled()
           
 void setCertificate(org.ietf.jgss.GSSCredential credential)
          Set the credential for the user, updating the DN.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserDetailsWithCertificateImpl

public UserDetailsWithCertificateImpl(java.lang.String username,
                                      java.lang.String password,
                                      org.ietf.jgss.GSSCredential certificate)
Method Detail

getDn

public java.lang.String getDn()
Specified by:
getDn in interface UserDetailsWithCertificate

getAuthorities

public org.acegisecurity.GrantedAuthority[] getAuthorities()
Specified by:
getAuthorities in interface org.acegisecurity.userdetails.UserDetails

getPassword

public java.lang.String getPassword()
Specified by:
getPassword in interface org.acegisecurity.userdetails.UserDetails

getUsername

public java.lang.String getUsername()
Specified by:
getUsername in interface org.acegisecurity.userdetails.UserDetails

isAccountNonExpired

public boolean isAccountNonExpired()
Specified by:
isAccountNonExpired in interface org.acegisecurity.userdetails.UserDetails

isAccountNonLocked

public boolean isAccountNonLocked()
Specified by:
isAccountNonLocked in interface org.acegisecurity.userdetails.UserDetails

isCredentialsNonExpired

public boolean isCredentialsNonExpired()
Specified by:
isCredentialsNonExpired in interface org.acegisecurity.userdetails.UserDetails

isEnabled

public boolean isEnabled()
Specified by:
isEnabled in interface org.acegisecurity.userdetails.UserDetails

getCertificate

public org.ietf.jgss.GSSCredential getCertificate()
Specified by:
getCertificate in interface UserDetailsWithCertificate

setCertificate

public void setCertificate(org.ietf.jgss.GSSCredential credential)
Description copied from interface: UserDetailsWithCertificate
Set the credential for the user, updating the DN.

Specified by:
setCertificate in interface UserDetailsWithCertificate


Copyright © 2008. All Rights Reserved.