|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Account
An Account is a convenience interface that extends both AuthenticationInfo
and
AuthorizationInfo
and represents authentication and authorization for a single account in a
single Realm.
toString()
implementation does not print out account credentials (password, etc), as these might be viewable to
someone reading your logs. This is good practice anyway, and account principals should rarely (if ever) be printed
out for any reason. If you're using Shiro's default implementations of this interface, they only ever print the
account principals
, so you do not need to do anything additional.
SimpleAccount
Method Summary |
---|
Methods inherited from interface org.apache.shiro.authc.AuthenticationInfo |
---|
getCredentials, getPrincipals |
Methods inherited from interface org.apache.shiro.authz.AuthorizationInfo |
---|
getObjectPermissions, getRoles, getStringPermissions |
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |