If you install Access Manager in Legacy Mode, you can change to Realm Mode by using the amadmin command with the -M option. For example:
amadmin -u cn=amAdmin,ou=People,dc=example,dc=com -w amadmin-password -M dc=example,dc=com
If you install Access Manager 7.1 in Realm Mode, you cannot revert to Legacy Mode.