public class Admin extends AbstractImpl
| Modifier and Type | Class and Description |
|---|---|
static class |
Admin.PrincipalType
PrincipalType
|
| Modifier | Constructor and Description |
|---|---|
protected |
Admin()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
createAdministrator(Segment adminSegment,
String segmentName,
String principalName,
String initialPassword,
String initialPasswordVerification,
List<String> errors)
Creates a new segment and segment administrators.
|
Contact |
createContact(Segment adminSegment,
String segmentName,
String principalName,
User owningUser,
List<PrincipalGroup> owningGroups,
List<String> errors)
Create contact.
|
org.openmdx.security.authorization1.jmi1.Policy |
createPolicy(javax.jdo.PersistenceManager pm,
String providerName,
String segmentName)
Create policy.
|
org.openmdx.security.realm1.jmi1.Principal |
createPrincipal(String principalName,
String principalDescription,
org.openmdx.security.realm1.jmi1.Realm realm,
Admin.PrincipalType principalType,
List<org.openmdx.security.realm1.jmi1.Group> memberOfGroups,
org.openmdx.security.realm1.jmi1.Subject subject)
Create or update principal.
|
void |
createSegment(org.openmdx.base.jmi1.Provider provider,
org.openmdx.base.jmi1.Segment segment,
String segmentName,
User owningUser,
PrincipalGroup owningGroup,
List<String> errors)
Create segment.
|
Subject |
createSubject(Segment identitySegment,
String subjectName,
String subjectDescription,
List<String> errors)
Create subject.
|
static Admin |
getInstance()
Get admin backend instance.
|
String |
importLoginPrincipals(Segment adminSegment,
byte[] item)
Import login principals.
|
static void |
register()
Register backend.
|
getInstance, getUidAsString, preDelete, preStore, registerImplpublic static void register()
public static Admin getInstance() throws org.openmdx.base.exception.ServiceException
org.openmdx.base.exception.ServiceExceptionpublic void createSegment(org.openmdx.base.jmi1.Provider provider,
org.openmdx.base.jmi1.Segment segment,
String segmentName,
User owningUser,
PrincipalGroup owningGroup,
List<String> errors)
provider - segment - segmentName - owningUser - owningGroup - errors - public Contact createContact(Segment adminSegment, String segmentName, String principalName, User owningUser, List<PrincipalGroup> owningGroups, List<String> errors)
adminSegment - segmentName - principalName - owningUser - owningGroups - errors - public Subject createSubject(Segment identitySegment, String subjectName, String subjectDescription, List<String> errors)
identitySegment - subjectName - subjectDescription - errors - public org.openmdx.security.realm1.jmi1.Principal createPrincipal(String principalName, String principalDescription, org.openmdx.security.realm1.jmi1.Realm realm, Admin.PrincipalType principalType, List<org.openmdx.security.realm1.jmi1.Group> memberOfGroups, org.openmdx.security.realm1.jmi1.Subject subject)
principalName - principalDescription - realm - principalType - memberOfGroups - subject - public org.openmdx.security.authorization1.jmi1.Policy createPolicy(javax.jdo.PersistenceManager pm,
String providerName,
String segmentName)
pm - providerName - segmentName - public void createAdministrator(Segment adminSegment, String segmentName, String principalName, String initialPassword, String initialPasswordVerification, List<String> errors) throws org.openmdx.base.exception.ServiceException
adminSegment - segmentName - principalName - initialPassword - initialPasswordVerification - errors - org.openmdx.base.exception.ServiceExceptionThis software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.