public class DefaultConnectionSubjectFactory extends java.lang.Object implements ConnectionSubjectFactory
| Constructor and Description |
|---|
DefaultConnectionSubjectFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.shiro.subject.Subject |
createSubject(ConnectionReference conn)
Creates a
Subject instance representing the connection client. |
AuthenticationPolicy |
getAuthenticationPolicy() |
void |
setAuthenticationPolicy(AuthenticationPolicy authenticationPolicy) |
public AuthenticationPolicy getAuthenticationPolicy()
public void setAuthenticationPolicy(AuthenticationPolicy authenticationPolicy)
public org.apache.shiro.subject.Subject createSubject(ConnectionReference conn)
ConnectionSubjectFactorySubject instance representing the connection client. It is common for Subject instances
returned from this method to be anonymous until a downstream AuthenticationFilter authenticates the
subject to associate an identity.createSubject in interface ConnectionSubjectFactoryconn - a reference to the client's connection metadataSubject instance representing the connection client.Copyright © 2005-2014 Red Hat, Inc.. All Rights Reserved.