Package com.priint.pubserver.auth.realm
Class PubServerAuthenticationInfo
java.lang.Object
org.apache.shiro.authc.SimpleAuthenticationInfo
com.priint.pubserver.auth.realm.PubServerAuthenticationInfo
- All Implemented Interfaces:
Serializable,org.apache.shiro.authc.AuthenticationInfo,org.apache.shiro.authc.MergableAuthenticationInfo,org.apache.shiro.authc.SaltedAuthenticationInfo
public class PubServerAuthenticationInfo
extends org.apache.shiro.authc.SimpleAuthenticationInfo
The type Pub server authentication info.
- Since:
- 4.0.0
- See Also:
-
Field Summary
FieldsFields inherited from class org.apache.shiro.authc.SimpleAuthenticationInfo
credentials, credentialsSalt, principals -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new Pub server authentication info.PubServerAuthenticationInfo(Object principal, Object credentials, String realmName) Instantiates a new Pub server authentication info. -
Method Summary
Modifier and TypeMethodDescriptionGets plugin jndi name.Gets plugin jndi name local.Gets plugin mapped name.booleanIs result authentication boolean.voidsetPluginJndiName(String pluginJndiName) Sets plugin jndi name.voidsetPluginJndiNameLocal(String pluginJndiName) Sets plugin jndi name local.voidsetPluginName(Object pluginName) Sets plugin name.voidsetResultAuthentication(boolean resultAuthentication) Sets result authentication.toString()Methods inherited from class org.apache.shiro.authc.SimpleAuthenticationInfo
equals, getCredentials, getCredentialsSalt, getPrincipals, hashCode, merge, setCredentials, setCredentialsSalt, setPrincipals
-
Field Details
-
pubRealm
The constant pubRealm.
-
-
Constructor Details
-
PubServerAuthenticationInfo
public PubServerAuthenticationInfo()Instantiates a new Pub server authentication info. -
PubServerAuthenticationInfo
Instantiates a new Pub server authentication info.- Parameters:
principal- the principalcredentials- the credentialsrealmName- the realm name
-
-
Method Details
-
isResultAuthentication
public boolean isResultAuthentication()Is result authentication boolean.- Returns:
- the boolean
-
setResultAuthentication
public void setResultAuthentication(boolean resultAuthentication) Sets result authentication.- Parameters:
resultAuthentication- the result authentication
-
getPluginJndiName
Gets plugin jndi name.- Returns:
- the plugin jndi name
-
setPluginJndiName
Sets plugin jndi name.- Parameters:
pluginJndiName- the plugin jndi name
-
getPluginJndiNameLocal
Gets plugin jndi name local.- Returns:
- the plugin jndi name local
-
setPluginJndiNameLocal
Sets plugin jndi name local.- Parameters:
pluginJndiName- the plugin jndi name
-
getPluginMappedName
Gets plugin mapped name.- Returns:
- the plugin mapped name
-
setPluginName
Sets plugin name.- Parameters:
pluginName- the plugin name
-
toString
- Overrides:
toStringin classorg.apache.shiro.authc.SimpleAuthenticationInfo
-