Package sonia.scm.security
Class DAORealmHelper.AuthenticationInfoBuilder
java.lang.Object
sonia.scm.security.DAORealmHelper.AuthenticationInfoBuilder
- Enclosing class:
- DAORealmHelper
Builder class for
AuthenticationInfo.-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.shiro.authc.AuthenticationInfobuild()Build creates the authentication info from the given information.withCredentials(String credentials) With credentials uses the given credentials for theAuthenticationInfo, this is particularly important for caching purposes.With the scope object it is possible to limit the access permissions to scm-manager.withSessionId(SessionId sessionId)
-
Method Details
-
withCredentials
With credentials uses the given credentials for theAuthenticationInfo, this is particularly important for caching purposes. -
withScope
With the scope object it is possible to limit the access permissions to scm-manager. -
withSessionId
-
build
public org.apache.shiro.authc.AuthenticationInfo build()Build creates the authentication info from the given information.- Returns:
- authentication info
-