| Modifier and Type | Class and Description |
|---|---|
class |
AnonymousSession
Originally designed for webapp viewers that want to provide access without
requiring that the user logs on.
|
class |
AuthenticationSessionAbstract |
| Modifier and Type | Method and Description |
|---|---|
AuthenticationSession |
AuthenticationSessionProvider.getAuthenticationSession()
Provided by AuthenticationManager when used by framework.
|
| Modifier and Type | Method and Description |
|---|---|
static org.apache.isis.applib.security.UserMemento |
AuthenticationSessionUtils.createUserMemento(AuthenticationSession session) |
| Modifier and Type | Method and Description |
|---|---|
AuthenticationSession |
InteractionContext.getSession()
The
user or role that is performing this
interaction. |
| Constructor and Description |
|---|
AccessContext(InteractionContextType interactionType,
DeploymentCategory deploymentCategory,
AuthenticationSession session,
InteractionInvocationMethod invocationMethod,
org.apache.isis.applib.Identifier identifier,
ObjectAdapter target) |
ActionArgumentContext(DeploymentCategory deploymentCategory,
AuthenticationSession session,
InteractionInvocationMethod invocationMethod,
ObjectAdapter target,
org.apache.isis.applib.Identifier id,
ObjectAdapter[] args,
int position) |
ActionInvocationContext(DeploymentCategory deploymentCategory,
AuthenticationSession session,
InteractionInvocationMethod invocationMethod,
ObjectAdapter target,
org.apache.isis.applib.Identifier id,
ObjectAdapter[] args) |
ActionUsabilityContext(DeploymentCategory deploymentCategory,
AuthenticationSession session,
InteractionInvocationMethod invocationMethod,
ObjectAdapter target,
org.apache.isis.applib.Identifier id,
org.apache.isis.applib.annotation.Where where) |
ActionVisibilityContext(DeploymentCategory deploymentCategory,
AuthenticationSession session,
InteractionInvocationMethod invocationMethod,
ObjectAdapter target,
org.apache.isis.applib.Identifier identifier,
org.apache.isis.applib.annotation.Where where) |
CollectionAccessContext(DeploymentCategory deploymentCategory,
AuthenticationSession session,
InteractionInvocationMethod invocationMethod,
ObjectAdapter target,
org.apache.isis.applib.Identifier identifier) |
CollectionAddToContext(DeploymentCategory deploymentCategory,
AuthenticationSession session,
InteractionInvocationMethod invocationMethod,
ObjectAdapter target,
org.apache.isis.applib.Identifier id,
ObjectAdapter proposed) |
CollectionRemoveFromContext(DeploymentCategory deploymentCategory,
AuthenticationSession session,
InteractionInvocationMethod invocationMethod,
ObjectAdapter target,
org.apache.isis.applib.Identifier identifier,
ObjectAdapter proposed) |
CollectionUsabilityContext(DeploymentCategory deploymentCategory,
AuthenticationSession session,
InteractionInvocationMethod invocationMethod,
ObjectAdapter target,
org.apache.isis.applib.Identifier identifier,
org.apache.isis.applib.annotation.Where where) |
CollectionVisibilityContext(DeploymentCategory deploymentCategory,
AuthenticationSession session,
InteractionInvocationMethod invocationMethod,
ObjectAdapter target,
org.apache.isis.applib.Identifier identifier,
org.apache.isis.applib.annotation.Where where) |
InteractionContext(InteractionContextType interactionType,
DeploymentCategory deploymentCategory,
AuthenticationSession session,
InteractionInvocationMethod invocationMethod,
org.apache.isis.applib.Identifier identifier,
ObjectAdapter target) |
ObjectTitleContext(DeploymentCategory deploymentCategory,
AuthenticationSession session,
InteractionInvocationMethod invocationMethod,
ObjectAdapter target,
org.apache.isis.applib.Identifier identifier,
String title) |
ObjectValidityContext(DeploymentCategory deploymentCategory,
AuthenticationSession session,
InteractionInvocationMethod invocationMethod,
ObjectAdapter target,
org.apache.isis.applib.Identifier identifier) |
ParseValueContext(DeploymentCategory deploymentCategory,
AuthenticationSession session,
InteractionInvocationMethod invocationMethod,
ObjectAdapter target,
org.apache.isis.applib.Identifier identifier,
ObjectAdapter proposed) |
PropertyAccessContext(DeploymentCategory deploymentCategory,
AuthenticationSession session,
InteractionInvocationMethod invocationMethod,
ObjectAdapter target,
org.apache.isis.applib.Identifier id,
ObjectAdapter value) |
PropertyModifyContext(DeploymentCategory deploymentCategory,
AuthenticationSession session,
InteractionInvocationMethod invocationMethod,
ObjectAdapter target,
org.apache.isis.applib.Identifier id,
ObjectAdapter proposed) |
PropertyUsabilityContext(DeploymentCategory deploymentCategory,
AuthenticationSession session,
InteractionInvocationMethod invocationMethod,
ObjectAdapter target,
org.apache.isis.applib.Identifier identifier,
org.apache.isis.applib.annotation.Where where) |
PropertyVisibilityContext(DeploymentCategory deploymentCategory,
AuthenticationSession session,
InteractionInvocationMethod invocationMethod,
ObjectAdapter target,
org.apache.isis.applib.Identifier identifier,
org.apache.isis.applib.annotation.Where where) |
UsabilityContext(InteractionContextType interactionType,
DeploymentCategory deploymentCategory,
AuthenticationSession session,
InteractionInvocationMethod invocationMethod,
org.apache.isis.applib.Identifier identifier,
ObjectAdapter target,
org.apache.isis.applib.annotation.Where where) |
ValidityContext(InteractionContextType interactionType,
DeploymentCategory deploymentCategory,
AuthenticationSession session,
InteractionInvocationMethod invocationMethod,
org.apache.isis.applib.Identifier identifier,
ObjectAdapter target) |
VisibilityContext(InteractionContextType interactionType,
DeploymentCategory deploymentCategory,
AuthenticationSession session,
InteractionInvocationMethod invocationMethod,
org.apache.isis.applib.Identifier identifier,
ObjectAdapter target,
org.apache.isis.applib.annotation.Where where) |
| Modifier and Type | Class and Description |
|---|---|
class |
AuthenticationSessionNoRuntime |
| Modifier and Type | Method and Description |
|---|---|
ObjectTitleContext |
ObjectSpecification.createTitleInteractionContext(AuthenticationSession session,
InteractionInvocationMethod invocationMethod,
ObjectAdapter targetObjectAdapter)
Create an
InteractionContext representing an attempt to read the
object's title. |
ObjectValidityContext |
ObjectSpecification.createValidityInteractionContext(DeploymentCategory deploymentCategory,
AuthenticationSession session,
InteractionInvocationMethod invocationMethod,
ObjectAdapter targetObjectAdapter)
Create an
InteractionContext representing an attempt to save the
object. |
| Modifier and Type | Method and Description |
|---|---|
PropertyAccessContext |
OneToOneAssociation.createAccessInteractionContext(AuthenticationSession session,
InteractionInvocationMethod interactionMethod,
ObjectAdapter targetObjectAdapter)
Creates an
InteractionContext that represents access to this
property. |
ActionInvocationContext |
ObjectAction.createActionInvocationInteractionContext(AuthenticationSession session,
InteractionInvocationMethod invocationMethod,
ObjectAdapter targetObject,
ObjectAdapter[] proposedArguments)
Creates an
interaction context
representing an attempt to invoke this action. |
ActionArgumentContext |
ObjectActionParameter.createProposedArgumentInteractionContext(AuthenticationSession session,
InteractionInvocationMethod invocationMethod,
ObjectAdapter targetObject,
ObjectAdapter[] args,
int position) |
UsabilityContext<?> |
ObjectMember.createUsableInteractionContext(AuthenticationSession session,
InteractionInvocationMethod invocationMethod,
ObjectAdapter target,
org.apache.isis.applib.annotation.Where where)
Create an
InteractionContext to represent an attempt to
use this member (that is, to
check if it is usable or not). |
ValidityContext<?> |
OneToManyAssociation.createValidateAddInteractionContext(AuthenticationSession session,
InteractionInvocationMethod invocationMethod,
ObjectAdapter owningObjectAdapter,
ObjectAdapter proposedObjectToAdd)
Creates an
InteractionContext that represents validation of a
candidate object to be added to the collection. |
ValidityContext<?> |
OneToOneAssociation.createValidateInteractionContext(AuthenticationSession session,
InteractionInvocationMethod interactionMethod,
ObjectAdapter targetObjectAdapter,
ObjectAdapter proposedValue)
Creates an
InteractionContext that represents validation of a
proposed new value for the property. |
ValidityContext<?> |
OneToManyAssociation.createValidateRemoveInteractionContext(AuthenticationSession session,
InteractionInvocationMethod invocationMethod,
ObjectAdapter owningObjectAdapter,
ObjectAdapter proposedObjectToRemove)
Creates an
InteractionContext that represents validation of a
candidate object to be removed from the collection. |
VisibilityContext<?> |
ObjectMember.createVisibleInteractionContext(AuthenticationSession session,
InteractionInvocationMethod invocationMethod,
ObjectAdapter targetObjectAdapter,
org.apache.isis.applib.annotation.Where where)
Create an
InteractionContext to represent an attempt to view this
member (that is, to check if it is visible or not). |
static org.apache.isis.applib.filter.Filter<ObjectAssociation> |
ObjectAssociationFilters.dynamicallyVisible(AuthenticationSession session,
ObjectAdapter target,
org.apache.isis.applib.annotation.Where where)
|
static com.google.common.base.Predicate<ObjectAssociation> |
ObjectAssociation.Predicates.dynamicallyVisible(AuthenticationSession session,
ObjectAdapter target,
org.apache.isis.applib.annotation.Where where) |
static org.apache.isis.applib.filter.Filter<ObjectAssociation> |
ObjectAssociation.Filters.dynamicallyVisible(AuthenticationSession session,
ObjectAdapter target,
org.apache.isis.applib.annotation.Where where)
Deprecated.
-use
equivalent |
static com.google.common.base.Predicate<ObjectAction> |
ObjectAction.Predicates.dynamicallyVisible(AuthenticationSession session,
ObjectAdapter target,
org.apache.isis.applib.annotation.Where where) |
static org.apache.isis.applib.filter.Filter<ObjectAction> |
ObjectAction.Filters.dynamicallyVisible(AuthenticationSession session,
ObjectAdapter target,
org.apache.isis.applib.annotation.Where where)
Deprecated.
-use
equivalent |
static org.apache.isis.applib.filter.Filter<ObjectAssociation> |
ObjectAssociationFilters.enabled(AuthenticationSession session,
ObjectAdapter adapter,
org.apache.isis.applib.annotation.Where where)
|
static com.google.common.base.Predicate<ObjectAssociation> |
ObjectAssociation.Predicates.enabled(AuthenticationSession session,
ObjectAdapter adapter,
org.apache.isis.applib.annotation.Where where) |
static org.apache.isis.applib.filter.Filter<ObjectAssociation> |
ObjectAssociation.Filters.enabled(AuthenticationSession session,
ObjectAdapter adapter,
org.apache.isis.applib.annotation.Where where)
Deprecated.
-use
equivalent |
Consent |
ObjectMember.isUsable(AuthenticationSession session,
ObjectAdapter target,
org.apache.isis.applib.annotation.Where where)
Determines whether this member is usable, represented as a
Consent. |
Consent |
ObjectMember.isVisible(AuthenticationSession session,
ObjectAdapter target,
org.apache.isis.applib.annotation.Where where)
Determines if this member is visible, represented as a
Consent. |
| Modifier and Type | Method and Description |
|---|---|
protected AuthenticationSession |
ObjectSpecificationAbstract.getAuthenticationSession()
convenience method to return the current
AuthenticationSession
from the injected
AuthenticationSessionProvider. |
protected AuthenticationSession |
ObjectMemberAbstract.getAuthenticationSession()
The current
AuthenticationSession (can change over time so do not
cache). |
protected AuthenticationSession |
ObjectActionParameterAbstract.getAuthenticationSession() |
| Modifier and Type | Method and Description |
|---|---|
PropertyAccessContext |
OneToOneAssociationImpl.createAccessInteractionContext(AuthenticationSession session,
InteractionInvocationMethod interactionMethod,
ObjectAdapter ownerAdapter)
TODO: currently this method is hard-coded to assume all interactions are
initiated
by user. |
ActionInvocationContext |
ObjectActionImpl.createActionInvocationInteractionContext(AuthenticationSession session,
InteractionInvocationMethod invocationMethod,
ObjectAdapter targetObject,
ObjectAdapter[] proposedArguments) |
ActionArgumentContext |
ObjectActionParameterAbstract.createProposedArgumentInteractionContext(AuthenticationSession session,
InteractionInvocationMethod invocationMethod,
ObjectAdapter targetObject,
ObjectAdapter[] proposedArguments,
int position) |
ObjectTitleContext |
ObjectSpecificationAbstract.createTitleInteractionContext(AuthenticationSession session,
InteractionInvocationMethod interactionMethod,
ObjectAdapter targetObjectAdapter) |
UsabilityContext<?> |
OneToOneAssociationImpl.createUsableInteractionContext(AuthenticationSession session,
InteractionInvocationMethod invocationMethod,
ObjectAdapter ownerAdapter,
org.apache.isis.applib.annotation.Where where) |
UsabilityContext<?> |
OneToManyAssociationImpl.createUsableInteractionContext(AuthenticationSession session,
InteractionInvocationMethod invocationMethod,
ObjectAdapter ownerAdapter,
org.apache.isis.applib.annotation.Where where) |
UsabilityContext<?> |
ObjectActionImpl.createUsableInteractionContext(AuthenticationSession session,
InteractionInvocationMethod invocationMethod,
ObjectAdapter targetObjectAdapter,
org.apache.isis.applib.annotation.Where where) |
ValidityContext<?> |
OneToManyAssociationImpl.createValidateAddInteractionContext(AuthenticationSession session,
InteractionInvocationMethod invocationMethod,
ObjectAdapter ownerAdapter,
ObjectAdapter proposedToAddAdapter) |
ValidityContext<?> |
OneToOneAssociationImpl.createValidateInteractionContext(AuthenticationSession session,
InteractionInvocationMethod interactionMethod,
ObjectAdapter ownerAdapter,
ObjectAdapter proposedToReferenceAdapter) |
ValidityContext<?> |
OneToManyAssociationImpl.createValidateRemoveInteractionContext(AuthenticationSession session,
InteractionInvocationMethod invocationMethod,
ObjectAdapter ownerAdapter,
ObjectAdapter proposedToRemoveAdapter) |
ObjectValidityContext |
ObjectSpecificationAbstract.createValidityInteractionContext(DeploymentCategory deploymentCategory,
AuthenticationSession session,
InteractionInvocationMethod interactionMethod,
ObjectAdapter targetObjectAdapter)
Create an
InteractionContext representing an attempt to save the
object. |
VisibilityContext<?> |
OneToOneAssociationImpl.createVisibleInteractionContext(AuthenticationSession session,
InteractionInvocationMethod invocationMethod,
ObjectAdapter ownerAdapter,
org.apache.isis.applib.annotation.Where where) |
VisibilityContext<?> |
OneToManyAssociationImpl.createVisibleInteractionContext(AuthenticationSession session,
InteractionInvocationMethod invocationMethod,
ObjectAdapter ownerAdapter,
org.apache.isis.applib.annotation.Where where) |
VisibilityContext<?> |
ObjectActionImpl.createVisibleInteractionContext(AuthenticationSession session,
InteractionInvocationMethod invocationMethod,
ObjectAdapter targetObjectAdapter,
org.apache.isis.applib.annotation.Where where) |
Consent |
OneToOneAssociationContributee.isUsable(AuthenticationSession session,
ObjectAdapter contributee,
org.apache.isis.applib.annotation.Where where) |
Consent |
OneToManyAssociationContributee.isUsable(AuthenticationSession session,
ObjectAdapter contributee,
org.apache.isis.applib.annotation.Where where) |
Consent |
ObjectMemberAbstract.isUsable(AuthenticationSession session,
ObjectAdapter target,
org.apache.isis.applib.annotation.Where where)
Loops over all
DisablingInteractionAdvisor Facets and
returns true only if none disables the member. |
Consent |
ObjectActionContributee.isUsable(AuthenticationSession session,
ObjectAdapter contributee,
org.apache.isis.applib.annotation.Where where) |
Consent |
OneToOneAssociationContributee.isVisible(AuthenticationSession session,
ObjectAdapter contributee,
org.apache.isis.applib.annotation.Where where) |
Consent |
OneToManyAssociationContributee.isVisible(AuthenticationSession session,
ObjectAdapter contributee,
org.apache.isis.applib.annotation.Where where) |
Consent |
ObjectMemberAbstract.isVisible(AuthenticationSession session,
ObjectAdapter target,
org.apache.isis.applib.annotation.Where where)
Loops over all
HidingInteractionAdvisor Facets and
returns true only if none hide the member. |
Consent |
ObjectActionContributee.isVisible(AuthenticationSession session,
ObjectAdapter contributee,
org.apache.isis.applib.annotation.Where where) |
| Modifier and Type | Method and Description |
|---|---|
static String |
Dump.graph(ObjectAdapter adapter,
AuthenticationSession authenticationSession)
Creates an ascii object graph diagram for the specified object, up to
three levels deep.
|
static void |
Dump.graph(ObjectAdapter object,
AuthenticationSession authenticationSession,
DebugBuilder debugBuilder)
As
Dump.graph(ObjectAdapter, AuthenticationSession), but appending to
the provided DebugBuilder. |
| Modifier and Type | Method and Description |
|---|---|
String |
DisableForSessionFacetNone.disabledReason(AuthenticationSession session) |
String |
DisableForSessionFacet.disabledReason(AuthenticationSession session)
The reason this is disabled, or null if not.
|
| Modifier and Type | Method and Description |
|---|---|
String |
DisableForSessionFacetViaMethod.disabledReason(AuthenticationSession session)
Will only check provided that a
AuthenticationSession has been
provided. |
| Modifier and Type | Method and Description |
|---|---|
String |
HideForSessionFacetNone.hiddenReason(AuthenticationSession session)
Always returns null.
|
String |
HideForSessionFacet.hiddenReason(AuthenticationSession session) |
| Modifier and Type | Method and Description |
|---|---|
String |
HideForSessionFacetViaMethod.hiddenReason(AuthenticationSession session)
Will only check provided that a
AuthenticationSession has been
provided. |
| Modifier and Type | Method and Description |
|---|---|
AuthenticationSession |
AuthenticationManager.authenticate(AuthenticationRequest request)
Caches and returns an authentication
AuthenticationSession if the
request is valid; otherwise returns
null. |
| Modifier and Type | Method and Description |
|---|---|
void |
AuthenticationManager.closeSession(AuthenticationSession authenticationSession) |
boolean |
AuthenticationManager.isSessionValid(AuthenticationSession authenticationSession)
Whether the provided
AuthenticationSession is still valid. |
| Modifier and Type | Class and Description |
|---|---|
class |
SimpleSession |
| Modifier and Type | Method and Description |
|---|---|
AuthenticationSession |
AuthenticationManagerStandard.authenticate(AuthenticationRequest request) |
AuthenticationSession |
AuthenticatorAbstract.authenticate(AuthenticationRequest request,
String code)
Default implementation returns a
SimpleSession; can be overridden
if required. |
AuthenticationSession |
Authenticator.authenticate(AuthenticationRequest request,
String code) |
| Modifier and Type | Method and Description |
|---|---|
void |
AuthenticationManagerStandard.closeSession(AuthenticationSession session) |
boolean |
AuthenticationManagerStandard.isSessionValid(AuthenticationSession session) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
AuthorizationManager.isUsable(AuthenticationSession session,
ObjectAdapter target,
org.apache.isis.applib.Identifier identifier)
Returns true when the use represented by the specified session is
authorised to change the field represented by the member identifier.
|
boolean |
AuthorizationManager.isVisible(AuthenticationSession session,
ObjectAdapter target,
org.apache.isis.applib.Identifier identifier)
Returns true when the user represented by the specified session is
authorised to view the member of the class/object represented by the
member identifier.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
AuthorizationManagerStandard.isUsable(AuthenticationSession session,
ObjectAdapter target,
org.apache.isis.applib.Identifier identifier) |
boolean |
AuthorizationManagerStandard.isVisible(AuthenticationSession session,
ObjectAdapter target,
org.apache.isis.applib.Identifier identifier) |
| Modifier and Type | Method and Description |
|---|---|
UserProfile |
UserProfileLoader.getProfile(AuthenticationSession session) |
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.