Package org.freedesktop.secret
Class Static.ObjectPaths
- java.lang.Object
-
- org.freedesktop.secret.Static.ObjectPaths
-
-
Field Summary
Fields Modifier and Type Field Description static StringCOLLECTIONstatic StringDEFAULT_COLLECTIONstatic StringLOGIN_COLLECTIONstatic StringPROMPTstatic StringSECRETSThe object path for the service.static StringSESSIONstatic StringSESSION_COLLECTION
-
Constructor Summary
Constructors Constructor Description ObjectPaths()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Stringcollection(String name)The object path for a collection, where xxxx represents a possibly encoded or truncated version of the initial label of the collection.static Stringitem(String collection, String item_id)The object path for an item, where xxxx is the collection (above) and iiii is an auto-generated item specific identifier.static Stringprompt(String window_id)The object path for a prompt, where pppp is the window_id.static Stringsession(String session_id)The object path for a session, where ssss is an auto-generated session specific identifier.
-
-
-
Field Detail
-
SECRETS
public static final String SECRETS
The object path for the service.- See Also:
- Constant Field Values
-
COLLECTION
public static final String COLLECTION
- See Also:
- Constant Field Values
-
SESSION
public static final String SESSION
- See Also:
- Constant Field Values
-
DEFAULT_COLLECTION
public static final String DEFAULT_COLLECTION
- See Also:
- Constant Field Values
-
SESSION_COLLECTION
public static final String SESSION_COLLECTION
- See Also:
- Constant Field Values
-
LOGIN_COLLECTION
public static final String LOGIN_COLLECTION
- See Also:
- Constant Field Values
-
PROMPT
public static final String PROMPT
- See Also:
- Constant Field Values
-
-
Method Detail
-
collection
public static String collection(String name)
The object path for a collection, where xxxx represents a possibly encoded or truncated version of the initial label of the collection.- Parameters:
name- the encoded name of the collection- Returns:
- path of the collection
/org/freedesktop/secrets/collection/xxxx
-
item
public static String item(String collection, String item_id)
The object path for an item, where xxxx is the collection (above) and iiii is an auto-generated item specific identifier.- Parameters:
collection- the encoded name of the collectionitem_id- the encoded name of the item- Returns:
- path of the item
/org/freedesktop/secrets/collection/xxxx/iiii
-
session
public static String session(String session_id)
The object path for a session, where ssss is an auto-generated session specific identifier.- Parameters:
session_id- the current id of the session- Returns:
- path of the session
/org/freedesktop/secrets/session/ssss
-
-