public class OpenCrxSecurity_1
extends org.openmdx.application.dataprovider.layer.application.Standard_1
Modifier and Type | Class and Description |
---|---|
class |
OpenCrxSecurity_1.LayerInteraction
LayerInteraction
|
Modifier and Type | Field and Description |
---|---|
protected static org.openmdx.base.naming.Path |
PATH_PATTERN_POLICIES |
protected static org.openmdx.base.naming.Path |
PATH_PATTERN_PRINCIPALS |
protected static org.openmdx.base.naming.Path |
PATH_PATTERN_REALM |
protected static org.openmdx.base.naming.Path |
PATH_PATTERN_REALM_COMPOSITES |
protected static org.openmdx.base.naming.Path |
PATH_PATTERN_SUBJECTS |
Constructor and Description |
---|
OpenCrxSecurity_1()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
activate(short id,
org.openmdx.application.configuration.Configuration configuration,
org.openmdx.application.dataprovider.spi.Layer_1 delegation) |
protected void |
changePassword(org.openmdx.application.dataprovider.cci.ServiceHeader header,
javax.resource.cci.MappedRecord passwordCredential,
javax.resource.cci.MappedRecord changePasswordParams)
Change password credential.
|
protected org.openmdx.base.rest.spi.Object_2Facade |
createResult(org.openmdx.application.dataprovider.cci.DataproviderRequest request,
String structName)
Create response struct.
|
javax.resource.cci.Interaction |
getInteraction(javax.resource.cci.Connection connection) |
protected String |
getPrincipalName(org.openmdx.application.dataprovider.cci.ServiceHeader header)
Get request principal.
|
void |
setDerivedAttributes(javax.resource.cci.MappedRecord obj)
Set derived attributes.
|
protected void |
touchRealm(org.openmdx.application.dataprovider.cci.ServiceHeader header,
org.openmdx.application.dataprovider.cci.DataproviderRequest request)
Touch the realm if any object contained in the realm was modified.
|
protected static final org.openmdx.base.naming.Path PATH_PATTERN_PRINCIPALS
protected static final org.openmdx.base.naming.Path PATH_PATTERN_REALM
protected static final org.openmdx.base.naming.Path PATH_PATTERN_REALM_COMPOSITES
protected static final org.openmdx.base.naming.Path PATH_PATTERN_SUBJECTS
protected static final org.openmdx.base.naming.Path PATH_PATTERN_POLICIES
public javax.resource.cci.Interaction getInteraction(javax.resource.cci.Connection connection) throws javax.resource.ResourceException
getInteraction
in interface org.openmdx.base.resource.spi.Port
getInteraction
in class org.openmdx.application.dataprovider.layer.application.Standard_1
javax.resource.ResourceException
public void activate(short id, org.openmdx.application.configuration.Configuration configuration, org.openmdx.application.dataprovider.spi.Layer_1 delegation) throws org.openmdx.base.exception.ServiceException
activate
in class org.openmdx.application.dataprovider.spi.Layer_1
org.openmdx.base.exception.ServiceException
protected String getPrincipalName(org.openmdx.application.dataprovider.cci.ServiceHeader header) throws org.openmdx.base.exception.ServiceException
header
- org.openmdx.base.exception.ServiceException
public void setDerivedAttributes(javax.resource.cci.MappedRecord obj) throws org.openmdx.base.exception.ServiceException
obj
- org.openmdx.base.exception.ServiceException
protected org.openmdx.base.rest.spi.Object_2Facade createResult(org.openmdx.application.dataprovider.cci.DataproviderRequest request, String structName) throws org.openmdx.base.exception.ServiceException
request
- structName
- org.openmdx.base.exception.ServiceException
protected void changePassword(org.openmdx.application.dataprovider.cci.ServiceHeader header, javax.resource.cci.MappedRecord passwordCredential, javax.resource.cci.MappedRecord changePasswordParams) throws org.openmdx.base.exception.ServiceException
header
- passwordCredential
- changePasswordParams
- org.openmdx.base.exception.ServiceException
protected void touchRealm(org.openmdx.application.dataprovider.cci.ServiceHeader header, org.openmdx.application.dataprovider.cci.DataproviderRequest request) throws org.openmdx.base.exception.ServiceException
header
- request
- org.openmdx.base.exception.ServiceException
This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.