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:
java.io.Serializable,org.apache.shiro.authc.AuthenticationInfo,org.apache.shiro.authc.MergableAuthenticationInfo,org.apache.shiro.authc.SaltedAuthenticationInfo
public class PubServerAuthenticationInfo extends org.apache.shiro.authc.SimpleAuthenticationInfoThe type Pub server authentication info.- Since:
- 4.0.0
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringpubRealmThe constant pubRealm.
-
Constructor Summary
Constructors Constructor Description PubServerAuthenticationInfo()Instantiates a new Pub server authentication info.PubServerAuthenticationInfo(java.lang.Object principal, java.lang.Object credentials, java.lang.String realmName)Instantiates a new Pub server authentication info.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetPluginJndiName()Gets plugin jndi name.java.lang.StringgetPluginJndiNameLocal()Gets plugin jndi name local.java.lang.ObjectgetPluginMappedName()Gets plugin mapped name.booleanisResultAuthentication()Is result authentication boolean.voidsetPluginJndiName(java.lang.String pluginJndiName)Sets plugin jndi name.voidsetPluginJndiNameLocal(java.lang.String pluginJndiName)Sets plugin jndi name local.voidsetPluginName(java.lang.Object pluginName)Sets plugin name.voidsetResultAuthentication(boolean resultAuthentication)Sets result authentication.java.lang.StringtoString()
-
-
-
Constructor Detail
-
PubServerAuthenticationInfo
public PubServerAuthenticationInfo()
Instantiates a new Pub server authentication info.
-
PubServerAuthenticationInfo
public PubServerAuthenticationInfo(java.lang.Object principal, java.lang.Object credentials, java.lang.String realmName)Instantiates a new Pub server authentication info.- Parameters:
principal- the principalcredentials- the credentialsrealmName- the realm name
-
-
Method Detail
-
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
public java.lang.String getPluginJndiName()
Gets plugin jndi name.- Returns:
- the plugin jndi name
-
setPluginJndiName
public void setPluginJndiName(java.lang.String pluginJndiName)
Sets plugin jndi name.- Parameters:
pluginJndiName- the plugin jndi name
-
getPluginJndiNameLocal
public java.lang.String getPluginJndiNameLocal()
Gets plugin jndi name local.- Returns:
- the plugin jndi name local
-
setPluginJndiNameLocal
public void setPluginJndiNameLocal(java.lang.String pluginJndiName)
Sets plugin jndi name local.- Parameters:
pluginJndiName- the plugin jndi name
-
getPluginMappedName
public java.lang.Object getPluginMappedName()
Gets plugin mapped name.- Returns:
- the plugin mapped name
-
setPluginName
public void setPluginName(java.lang.Object pluginName)
Sets plugin name.- Parameters:
pluginName- the plugin name
-
toString
public java.lang.String toString()
- Overrides:
toStringin classorg.apache.shiro.authc.SimpleAuthenticationInfo
-
-