edu.hawaii.its.hudson.security
Class Cas1Authentication
java.lang.Object
edu.hawaii.its.hudson.security.Cas1Authentication
- All Implemented Interfaces:
- java.io.Serializable, java.security.Principal, org.acegisecurity.Authentication
public class Cas1Authentication
- extends java.lang.Object
- implements org.acegisecurity.Authentication
Adapter to Hudson uses Acegi API.
- See Also:
- Serialized Form
|
Constructor Summary |
Cas1Authentication(java.lang.String username,
java.util.Collection roles)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.security.Principal |
equals, hashCode, toString |
Cas1Authentication
public Cas1Authentication(java.lang.String username,
java.util.Collection roles)
getAuthorities
public org.acegisecurity.GrantedAuthority[] getAuthorities()
- Specified by:
getAuthorities in interface org.acegisecurity.Authentication
getCredentials
public java.lang.Object getCredentials()
- Specified by:
getCredentials in interface org.acegisecurity.Authentication
getDetails
public java.lang.Object getDetails()
- Specified by:
getDetails in interface org.acegisecurity.Authentication
getPrincipal
public java.lang.Object getPrincipal()
- Specified by:
getPrincipal in interface org.acegisecurity.Authentication
isAuthenticated
public boolean isAuthenticated()
- Specified by:
isAuthenticated in interface org.acegisecurity.Authentication
setAuthenticated
public void setAuthenticated(boolean isAuthenticated)
throws java.lang.IllegalArgumentException
- Specified by:
setAuthenticated in interface org.acegisecurity.Authentication
- Throws:
java.lang.IllegalArgumentException
getName
public java.lang.String getName()
- Specified by:
getName in interface java.security.Principal
Copyright © 2010. All Rights Reserved.