public interface CasRealm
Realm
implementations that do not require password
for authentication.Modifier and Type | Method and Description |
---|---|
Principal |
authenticate(Principal p)
Authenticates the given principal.
|
String[] |
getRoles(Principal p)
Gets the roles defined for the given principal.
|
boolean |
hasRole(Principal principal,
String role)
Determines whether the given principal possesses the given role.
|
Principal authenticate(Principal p)
p
- Principal to authenticate.String[] getRoles(Principal p)
p
- the principal to retrieve the roles for.Copyright © 2006–2017 Jasig. All rights reserved.